<?php

use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class InitUpdate70 extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        // Schema::table('package_skus', function (Blueprint $table) {
        //     $table->integer('open_index')->nullable()->index()->comment('第几发开始');
        //     // $table->integer('line_score_price')->nullable()->comment('积分划线价');
        // });

        Schema::table('yfs_activity', function (Blueprint $table) {
            $table->integer('half_buy_before_all_pick')->default(0)->comment('前半场参与多少次才可全包');
            // $table->integer('line_score_price')->nullable()->comment('积分划线价');
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        //
    }
}
